<template>
  <div>
    我是首页
    <router-link to="/test">测试</router-link>
    <div>{{homeInfo}}</div>
  </div>
</template>

<script>
export default {
  serverRequest(store){
    return store.dispatch('getHomeInfo')
  },
  computed:{
    homeInfo(){
      return this.$store.state.homeInfo
    }
  }

}
</script>

<style>

</style>
